try {
	Type.registerNamespace('PurchaseInScanedVO');
	//到货计划扫描表VO
	PurchaseInScanedVO = function() {};
	PurchaseInScanedVO.prototype = new NCMMPubUtil.SuperVO();
	//仓库主键
	PurchaseInScanedVO.CWAREHOUSEID = {
		name: "cwarehouseid",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//单据号
	PurchaseInScanedVO.VBILLCODE = {
		name: "vbillcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//仓库名称
	PurchaseInScanedVO.RECEIVESTORENAME = {
		name: "receivestorename",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};

	//到货单表头主键
	PurchaseInScanedVO.CSOURCEBILLHID = {
		name: "csourcebillhid",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};

	//时间戳
	PurchaseInScanedVO.CSOURCEHEADTS = {
		name: "csourceheadts",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//到货单表体主键
	PurchaseInScanedVO.CSOURCEBILLBID = {
		name: "csourcebillbid",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//物料vid
	PurchaseInScanedVO.CMATERIALVID = {
		name: "cmaterialvid",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//物料名称
	PurchaseInScanedVO.MATERIALNAME = {
		name: "materialname",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//物料编码
	PurchaseInScanedVO.PKSRCMATERIALCODE = {
		name: "pksrcmaterialcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//时间戳
	PurchaseInScanedVO.CSOURCEBODYTS = {
		name: "csourcebodyts",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//主单位
	PurchaseInScanedVO.CUNITID = {
		name: "cunitid",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//主单位名称
	PurchaseInScanedVO.CUNITIDNAME = {
		name: "cunitidname",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//辅单位
	PurchaseInScanedVO.CASTUNITID = {
		name: "castunitid",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//辅单位名称
	PurchaseInScanedVO.CASTUNITIDNAME = {
		name: "castunitidname",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//换算率
	PurchaseInScanedVO.VCHANGERATE = {
		name: "vchangerate",
		type: NCMMPubUtil.VALUE_TYPE_REAL
	};

	//扫描主数量
	PurchaseInScanedVO.SCANNUM = {
		name: "scannum",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//扫描数量
	PurchaseInScanedVO.SCANASTNUM = {
		name: "scanastnum",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
    //应收主数量
    PurchaseInScanedVO.NNUM = {
        name: "nnum",
        type: NCMMPubUtil.VALUE_TYPE_TEXT
    };
    //应收数量
    PurchaseInScanedVO.NASTNUM = {
        name: "nastnum",
        type: NCMMPubUtil.VALUE_TYPE_TEXT
    };
	//批次号
	PurchaseInScanedVO.VBATCHCODE = {
		name: "vbatchcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};

	PurchaseInScanedVO.PK_BATCHCODE = {
		name: "pk_batchcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//供应商
	PurchaseInScanedVO.CVENDORID = {
		name: "cvendorid",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//供应商名称
	PurchaseInScanedVO.PK_SUPPLIERNAME = {
		name: "pk_suppliername",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//货位
	PurchaseInScanedVO.CLOCATIONID = {
		name: "clocationid",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//货位名称
	PurchaseInScanedVO.PK_RACKNAME = {
		name: "pk_rackname",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//行号
	PurchaseInScanedVO.CROWNO = {
		name: "crowno",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};

	//供应商批次号
	PurchaseInScanedVO.VVENDBATCHCODE = {
		name: "vvendbatchcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//序列号
	PurchaseInScanedVO.VSERIALCODE = {
		name: "vserialcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//入库日期
	PurchaseInScanedVO.DBIZDATE = {
		name: "dbizdate",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
    //规格
    PurchaseInScanedVO.MATERIALSPEC = {
        name: "materialspec",
        type: NCMMPubUtil.VALUE_TYPE_TEXT
    };
    //型号
    PurchaseInScanedVO.MATERIALTYPE = {
        name: "materialtype",
        type: NCMMPubUtil.VALUE_TYPE_TEXT
    };
	PurchaseInScanedVO.TS = {
		name: "ts",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};

	PurchaseInScanedVO.prototype.getAllAttrs = function() {
		return [
			PurchaseInScanedVO.CMATERIALVID,
			PurchaseInScanedVO.MATERIALSPEC,
			PurchaseInScanedVO.MATERIALTYPE,
			PurchaseInScanedVO.VBILLCODE,
			PurchaseInScanedVO.CSOURCEBILLBID,
			PurchaseInScanedVO.CSOURCEBILLHID,
			PurchaseInScanedVO.CSOURCEBODYTS,
			PurchaseInScanedVO.CSOURCEHEADTS,
			PurchaseInScanedVO.CUNITID,
			PurchaseInScanedVO.CUNITIDNAME,
			PurchaseInScanedVO.CASTUNITID,
			PurchaseInScanedVO.CASTUNITIDNAME,
			PurchaseInScanedVO.VCHANGERATE,
			PurchaseInScanedVO.CWAREHOUSEID,
			PurchaseInScanedVO.RECEIVESTORENAME,
			PurchaseInScanedVO.SCANNUM,
			PurchaseInScanedVO.SCANASTNUM,
			PurchaseInScanedVO.NNUM,
		    PurchaseInScanedVO.NASTNUM,
			PurchaseInScanedVO.VBATCHCODE,
			PurchaseInScanedVO.PK_BATCHCODE,
			PurchaseInScanedVO.CVENDORID,
			PurchaseInScanedVO.CROWNO,
			PurchaseInScanedVO.PK_SUPPLIERNAME,
			PurchaseInScanedVO.CLOCATIONID,
			PurchaseInScanedVO.PK_RACKNAME,
			PurchaseInScanedVO.VVENDBATCHCODE,
			PurchaseInScanedVO.DBIZDATE,
			PurchaseInScanedVO.VSERIALCODE,
			PurchaseInScanedVO.MATERIALNAME,
			PurchaseInScanedVO.PKSRCMATERIALCODE,
			PurchaseInScanedVO.TS
		
		];
	}
	PurchaseInScanedVO.prototype.getTableName = function() {
		return "app_po_arriveorderscaned";
	};
	PurchaseInScanedVO.prototype.getPrimaryAttr = function() {
		return PurchaseInScanedVO.TS;
	};

} catch(e) {
	$e(e);
}